<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center lvshidetail_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub lvshidetail_fd0_0'>
					<view class='flex flex-wrap align-center lvshidetail_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  lvshidetail_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='lvshidetail_fd0_0_c1_c0'>详情</text>
					</view>
					<view class='flex flex-wrap align-center justify-end lvshidetail_fd0_0_c0'>
					</view>
				</view>
			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-wrap align-center justify-center benben-flex-layout">
				<image class='lvshidetail_fd1_0' mode="aspectFill" :src='detail.head'></image>
				<view class='flex flex-wrap align-center justify-center lvshidetail_fd1_1'>
					<text class='lvshidetail_fd1_1_c0'>{{detail.realname}}</text>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<!---flex布局flex布局开始-->
			<view class="flex flex-wrap align-center justify-center benben-flex-layout">
				<text class='lvshidetail_fd2_0'>{{detail.zhiwu}}</text>
			</view>

			<!---flex布局flex布局结束-->
			<!---flex布局flex布局开始-->
			<view class="flex benben-flex-layout flex-wrap align-center">
				<view class='flex flex-wrap align-center justify-between lvshidetail_fd3_0'>
					<view class='flex flex-direction flex-wrap align-stretch lvshidetail_fd3_0_c0'>
						<view class='flex flex-wrap align-center lvshidetail_fd3_0_c0_c0'>
							<view class='flex flex-wrap align-center'>
								<image class='lvshidetail_fd3_0_c0_c0_c0_c0' mode="aspectFit"
									src='https://paiaifalv.oss-cn-beijing.aliyuncs.com/images/72.png'></image>
							</view>
							<view class='flex flex-wrap align-center'>
								<text class='lvshidetail_fd3_0_c0_c0_c1_c0'>电话：{{detail.mobile}}</text>
								<!-- <text>这是文字</text> -->
							</view>
						</view>
						<view class='flex flex-wrap align-center'>
							<view class='flex flex-wrap align-center'>
								<image class='lvshidetail_fd3_0_c0_c0_c0_c0' mode="aspectFit"
									src='https://paiaifalv.oss-cn-beijing.aliyuncs.com/images/73.png'></image>
							</view>
							<view class='flex flex-wrap align-center'>
								<text class='lvshidetail_fd3_0_c0_c0_c1_c0'>单位：{{detail.danwei}}</text>
								<!-- <text>这是文字</text> -->
							</view>
						</view>
					</view>
					<view class='flex flex-direction flex-wrap align-center lvshidetail_fd3_0_c1' @click="makephone">
						<image class='lvshidetail_fd3_0_c1_c0' mode="aspectFit" src='https://paiaifalv.oss-cn-beijing.aliyuncs.com/images/71.png'></image>
						<text class='lvshidetail_fd3_0_c1_c1'>联系电话</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-between lvshidetail_fd3_0_c2'>
						<image class='lvshidetail_fd3_0_c2_c0' mode="aspectFit" src='https://paiaifalv.oss-cn-beijing.aliyuncs.com/images/74.png'></image>
						<view class='flex flex-wrap lvshidetail_fd3_0_c2_c1'>
							<text class='lvshidetail_fd3_0_c0_c0_c1_c0'>简介：</text>
							<text style="width: 80%;font-size: 30rpx;">{{detail.jianjie}}</text>
						</view>
					</view>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<!---flex布局flex布局开始-->
			<view class="flex flex-wrap align-end benben-flex-layout lvshidetail_flex_4">
				<view class='flex flex-wrap align-center justify-between lvshidetail_fd4_0'>
					<view class='flex flex-wrap align-center lvshidetail_fd4_0_c0'>
					</view>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<view class="flex flex-direction align-stretch benben-position-layout flex lvshidetail_flex_5">
				<view class='flex align-center justify-center flex-sub lvshidetail_fd5_0' @click="nextclick">
					<text class='lvshidetail_fd5_0_c0'>我也要展示</text>
				</view>

			</view>
			<view :style="{height: '88rpx'}"></view>


		</view>
	</view>
</template>
<script>
	export default {
		components: {},
		data() {
			return {
				aid:"",
				detail:"",//详情
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			this.aid = options.aid;
			this.get_auction_detail();
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			get_auction_detail(){
				this.$api.post(global.apiUrls.get_auction_detail, {
					aid:this.aid,
				}).then(res=>{
					if(res.data.code==1){
						this.detail = res.data.data;
					}
				})
			},
			
			//拨打电话
			makephone(){
				uni.makePhoneCall({
					phoneNumber:this.detail.mobile,
				})
			},
			
			//跳转展示
			nextclick(){
				if(!uni.getStorageSync("token")){
					uni.navigateTo({
						url:"/pages/tabBar/denglu/denglu"
					})
				}else{
					uni.navigateTo({
						url:"/pages/shouye/zhanshijiaocheng/zhanshijiaocheng?aid="+this.aid,
					})
				}
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: rgba(255, 255, 255, 1);
		background-size: 100% auto;
	}

	.lvshidetail_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.lvshidetail_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
		line-height: 50rpx;
	}

	.lvshidetail_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.lvshidetail_fd0_0_c0 {
		width: 120rpx;
	}

	.lvshidetail_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.lvshidetail_fd1_1_c0 {
		color: #333333;
		font-size: 48rpx;
		font-weight: 600;
		text-align: center;
	}

	.lvshidetail_fd1_1 {
		width: 100%;
		text-align: center;
	}

	.lvshidetail_fd1_0 {
		height: 370rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		width: 278rpx;
		margin: 28rpx 0rpx 0rpx 0rpx;
	}

	.lvshidetail_fd2_0 {
		color: #9B9B9B;
		font-size: 28rpx;
		font-weight: 400;
	}

	.lvshidetail_fd3_0_c2_c1 {
		width: 610rpx;
	}

	.lvshidetail_fd3_0_c2_c0 {
		width: 24rpx;
		height: 24rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.lvshidetail_fd3_0_c2 {
		width: 100%;
		margin: 30rpx 0rpx 0rpx 0rpx;
	}

	.lvshidetail_fd3_0_c1_c1 {
		color: #000000;
		font-size: 30rpx;
		font-weight: 400;
	}

	.lvshidetail_fd3_0_c1_c0 {
		width: 42rpx;
		height: 42rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 12rpx 0rpx;
	}

	.lvshidetail_fd3_0_c1 {
		width: 120rpx;
	}

	.lvshidetail_fd3_0_c0_c0_c1_c0 {
		color: #000000;
		font-size:30rpx;
		font-weight: 400;
	}

	.lvshidetail_fd3_0_c0_c0_c0_c0 {
		width: 24rpx;
		height: 24rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 24rpx 0rpx 0rpx;
	}

	.lvshidetail_fd3_0_c0_c0 {
		margin: 0rpx 0rpx 30rpx 0rpx;
	}

	.lvshidetail_fd3_0_c0 {
		width: 500rpx;
	}

	.lvshidetail_fd3_0 {
		width: 100%;
		color: #9B9B9B;
		font-size: 14rpx;
		font-weight: 400;
		padding: 94rpx 46rpx 30rpx 46rpx;
	}

	.lvshidetail_flex_4 {
		width: 686rpx;
		margin: 090rpx 0rpx 0rpx 32rpx;
	}

	.lvshidetail_fd4_0_c0 {
		width: 500rpx;
	}

	.lvshidetail_fd4_0 {
		width: 100%;
	}

	.lvshidetail_flex_5 {
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(40rpx + var(--window-bottom));
	}

	.lvshidetail_fd5_0_c0 {
		color: #FFFFFF;
		font-size: 32rpx;
		font-weight: 400;
		line-height: 45rpx;
	}

	.lvshidetail_fd5_0 {
		background: #26BF01;
		background-size: 100% auto !important;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		width: 710rpx;
		height: 98rpx;
		margin: 0rpx 0rpx 0rpx 20rpx;
	}
</style>